package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付日志对象 by_order_pay_log
 *
 * @author ruoyi
 * @date 2023-06-19
 */
public class ByOrderPayLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderSn;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private String price;

    /** 状态0，发起支付，1支付成功，2，支付失败 */
    @Excel(name = "状态0，发起支付，1支付成功，2，支付失败")
    private String status;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private String addtime;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 微信id */
    @Excel(name = "微信id")
    private String wxId;

    /** 支付ID */
    @Excel(name = "支付ID")
    private String payId;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private String uptime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderSn(String orderSn)
    {
        this.orderSn = orderSn;
    }

    public String getOrderSn()
    {
        return orderSn;
    }
    public void setPrice(String price)
    {
        this.price = price;
    }

    public String getPrice()
    {
        return price;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setAddtime(String addtime)
    {
        this.addtime = addtime;
    }

    public String getAddtime()
    {
        return addtime;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setWxId(String wxId)
    {
        this.wxId = wxId;
    }

    public String getWxId()
    {
        return wxId;
    }
    public void setPayId(String payId)
    {
        this.payId = payId;
    }

    public String getPayId()
    {
        return payId;
    }
    public void setUptime(String uptime)
    {
        this.uptime = uptime;
    }

    public String getUptime()
    {
        return uptime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderSn", getOrderSn())
                .append("price", getPrice())
                .append("status", getStatus())
                .append("addtime", getAddtime())
                .append("orderId", getOrderId())
                .append("wxId", getWxId())
                .append("payId", getPayId())
                .append("uptime", getUptime())
                .toString();
    }
}
